package com.le.http.projhttp;

import android.app.Activity;
import android.os.Bundle;
import android.os.Handler;
import android.view.View;
import android.widget.Button;

import com.le.http.lehttprequest.LeHttpRequest;

public class MainActivity extends Activity implements View.OnClickListener {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        Button buttonTest = (Button)findViewById(R.id.buttonTest);
        buttonTest.setOnClickListener(this);
    }

    @Override
    public void onClick(View view) {
        LeHttpRequest.get("http://10.0.2.2:8000/service/TestHandler.py",null,null,0,0,new Handler());
    }
}
